$htop-height: 30px;
$hcent-height: 80px;

// 公共头部
.m {
  padding: 0;
  width: 1200px;
  margin: 0 auto;
}
.header {
  font-size: 12px;
  .header_top {
    height: $htop-height;
    border-bottom: 1px solid #e7e7e7;
    .htop_text {
      height: $htop-height;
      .htop_tselect {
        width: 60px;
        height: $htop-height;
        float: left;
        line-height: $htop-height;
        span {
          font-size: 12px;
          padding: 0 12px 0 14px;
          background: url("./bg_img/icon1.png") no-repeat left center,
            url("./bg_img/icon2.png") no-repeat right center;
        }
      }
      .htop_tul {
        float: right;
        line-height: $htop-height;
        margin: 0;
        li {
          float: left;
          a {
            font-size: 12px;
            color: #999999;
            padding: 0 12px;
          }
        }
        li.tul_line {
          position: relative;
        }
        li.tul_logon a {
          color: #ff7a22;
        }
        li:hover a {
          color: #ff7a22;
        }
        li.tul_line::after {
          content: "";
          position: absolute;
          background: #cccccc;
          width: 1px;
          height: 13px;
          top: 9px;
          right: 0;
        }
      }
    }
  }
  .header_center {
    height: $hcent-height;
    .logo {
      display: block;
      width: 286px;
      height: 56px;
      margin-top: 10px;
      float: left;
    }
    .hcent_right {
      width: 680px;
      height: $hcent-height;
      float: right;
      .hcright_inp {
        width: 500px;
        height: 54px;
        margin-top: 16px;
        float: left;
        .hinp_inp {
          width: 500px;
          height: 32px;
          border: 2px solid #ff6600;
          .hinp_select {
            width: 63px;
            height: 16px;
            line-height: 16px;
            color: #666666;
            margin-top: 6px;
            position: relative;
            float: left;
            text-indent: 10px;
            background: url("./bg_img/icon3.png") no-repeat 44px center;
            cursor: pointer;
          }
          .hinp_select::after {
            content: "";
            position: absolute;
            width: 1px;
            height: 16px;
            background: #ccc;
            right: 0;
          }
          input {
            width: 385px;
            height: 28px;
            line-height: 28px;
            outline: 0;
            border: 0;
            float: left;
            text-indent: 10px;
            color: #999999;
          }
          i {
            float: right;
            display: block;
            width: 48px;
            height: 28px;
            background: #ff6600 url("./bg_img/icon4.png") no-repeat center
              center;
            cursor: pointer;
          }
        }
        p {
          line-height: 22px;
          color: #a0a0a0;
          margin: 0;
          span {
            padding-right: 14px;
          }
        }
      }
      button {
        i {
          padding: 0px 9px 0 20px;
          background: url("./bg_img/icon5.png") no-repeat center;
        }
        display: block;
        float: right;
        width: 120px;
        height: 32px;
        margin-top: 16px;
        background: #30bb5a;
        color: #fff;
        border: 0;
        outline: 0;
        cursor: pointer;
      }
    }
  }
  .header_bto {
    height: 40px;
    background: #333333;
    .hbto_nav {
      height: 40px;
      li {
        float: left;
        margin-right: 8px;
        a {
          display: block;
          text-align: center;
          width: 118px;
          height: 40px;
          font-size: 14px;
          color: #fff;
          line-height: 40px;
        }
        a:hover {
          background: #ff6600;
        }
      }
      li.hnav_home a {
        width: 84px;
        background: #ff6600;
      }
      li.hnav_new a {
        position: relative;
      }
      li.hnav_new a::after {
        content: "";
        width: 26px;
        height: 14px;
        position: absolute;
        top: -4px;
        right: 0;
        background: url("./bg_img/new.png") no-repeat;
        z-index: 10;
      }
    }
  }
}
// banner
.banr {
  height: 300px;
  background: #2e6eb6;
  text-align: center;
  // overflow: hidden;
  img {
    height: 300px;
    display: block;
  }
}

// 公共title
.ent_top {
  height: 38px;
  margin-top: 20px;
  .left {
    width: 915px;
    float: left;
    span {
      display: block;
      height: 38px;
      line-height: 38px;
      font-size: 18px;
      float: left;
      color: #333;
    }
    a.more {
      display: block;
      height: 32px;
      margin: 6px 40px 0 0;
      line-height: 32px;
      float: right;
      font-size: 12px;
      color: #46bf68;
    }
    ul {
      height: 34px;
      padding-top: 4px;
      float: right;
      margin: 0;
      li {
        float: left;
        padding: 6px 14px 6px 0;
        a {
          display: block;
          width: 38px;
          height: 22px;
          line-height: 22px;
          text-align: center;
          font-size: 14px;
          color: #39ba5e;
          &:hover {
            color: #fff;
            background: #39ba5e;
            border-radius: 2px;
          }
          &.cur {
            color: #fff;
            background: #39ba5e;
            border-radius: 2px;
          }
        }
        &.more {
          padding: 6px 20px;
          a {
            width: 41px;
            font-size: 12px;
          }
        }
        &.more > a:hover {
          background: transparent;
          color: #39ba5e;
        }
      }
    }
  }
  .right {
    width: 285px;
    overflow: hidden;
    float: right;
    span {
      display: block;
      margin: 4px 0 8px;
      height: 26px;
      line-height: 26px;
      font-size: 18px;
      color: #333;
      float: left;
    }
    a {
      display: block;
      height: 32px;
      margin-top: 6px;
      line-height: 32px;
      float: right;
      font-size: 12px;
      color: #46bf68;
      &.right_bg {
        width: 100px;
        background: url("./bg_img/icon6.png") no-repeat right center;
      }
    }
  }
}
// 公共按钮

.hleft_btn {
  margin-bottom: 0;
  margin-right: 20px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  li {
    display: inline-block;
    box-sizing: content-box;
    margin: 0 4px;
    width: 10px;
    height: 10px;
    background: #ccc;
    border: 2px solid #f4f4f4;
    border-radius: 50%;
    cursor: pointer;
    &.curr {
      background: #fff;
      border-color: #56bc75;
    }
    &:hover {
      background: #fff;
      border-color: #56bc75;
    }
  }
}
// 中间内容
.main {
  background: #f4f4f4;
  overflow: hidden;
  .main_txt {
    .entire {
      .ent_list {
        height: 294px;
        margin: 0;
        li {
          margin-left: 24px;
          width: 282px;
          height: 294px;
          float: left;
          background: #fff;
          transition: all 0.3s;
          .elist_top {
            height: 130px;
            background: #4fbb93;
            overflow: hidden;
            cursor: pointer;
            .eltop_img {
              margin: 24px 0 0 14px;
              width: 80px;
              height: 80px;
              border-radius: 50%;
              overflow: hidden;
              float: left;
              img {
                display: inline-block;
                margin: -22px 0 0 -60px;
              }
            }
            .eltop_own {
              float: right;
              width: 164px;
              margin-top: 30px;
              h4 {
                line-height: 30px;
                font-size: 18px;
                color: #fff;
                margin: 0;
              }
              span {
                display: block;
                color: #fff;
                line-height: 22px;
                font-size: 12px;
              }
            }
          }
          .elist_txt {
            height: 164px;
            margin: 0;
            border: 1px solid #e7e7e7;
            p {
              line-height: 26px;
              height: 26px;
              margin: 0;
              text-indent: 26px;
              span {
                color: #666;
                font-size: 12px;
              }
            }
            p:nth-child(1) {
              margin-top: 18px;
            }
            p.eltxt_hop > span {
              padding-right: 30px;
              background: url("./bg_img/hot.png") no-repeat right center;
            }
          }
          &:hover {
            box-shadow: 0px 0px 18px 5px #d9d9d9;
          }
        }
        li:nth-child(1) {
          margin-left: 0;
        }
        li:nth-child(1) .elist_top {
          position: relative;
          &::after {
            content: "初中生物";
            position: absolute;
            top: 0;
            right: 0;
            width: 58px;
            height: 20px;
            line-height: 20px;
            color: #fff;
            font-size: 12px;
            text-align: center;
            background: #b68ffd;
          }
        }
        li:nth-child(4) .elist_top {
          position: relative;
          &::after {
            content: "初中英语";
            position: absolute;
            top: 0;
            right: 0;
            width: 58px;
            height: 20px;
            line-height: 20px;
            color: #fff;
            font-size: 12px;
            text-align: center;
            background: #b68ffd;
          }
        }
        li:nth-child(2) .elist_top {
          position: relative;
          &::after {
            content: "高中化学";
            position: absolute;
            top: 0;
            right: 0;
            width: 58px;
            height: 20px;
            line-height: 20px;
            color: #fff;
            font-size: 12px;
            text-align: center;
            background: #ff7474;
          }
        }
        li:nth-child(3) .elist_top {
          position: relative;
          &::after {
            content: "高中数学";
            position: absolute;
            top: 0;
            right: 0;
            width: 58px;
            height: 20px;
            line-height: 20px;
            color: #fff;
            font-size: 12px;
            text-align: center;
            background: #ff7474;
          }
        }
      }
    }
    .hot {
      height: 405px;
      .hot_left {
        float: left;
        width: 915px;
        .hleft_list {
          margin: 0;
          li {
            width: 285px;
            height: 158px;
            float: left;
            margin: 0 20px 18px 0;
            border: 1px solid #e7e7e7;
            background: #fff;
            box-sizing: border-box;
            padding: 20px 0 0 20px;
            transition: all 0.4s;
            &:hover {
              box-shadow: 0px 0px 18px 6px #e0e0e0;
            }
            .hlist_top {
              height: 90px;
              cursor: pointer;
              img {
                display: block;
                width: 70px;
                height: 70px;
                float: left;
                border-radius: 50%;
              }
              div {
                float: left;
                margin-left: 15px;
                h3 {
                  height: 20px;
                  line-height: 20px;
                  font-size: 18px;
                  color: #333;
                  font-weight: normal;
                }
                i {
                  display: block;
                  width: 58px;
                  height: 20px;
                  line-height: 20px;
                  margin: 8px 0;
                  background: #ff7474;
                  color: #fff;
                  font-size: 12px;
                  font-style: normal;
                  text-align: center;
                }
                span {
                  display: block;
                  height: 16px;
                  line-height: 16px;
                  font-size: 12px;
                  color: #30bb5a;
                }
              }
            }
            .hlist_bto {
              height: 44px;
              border-top: 1px solid #eaeaea;
              span {
                display: block;
                width: 116px;
                height: 24px;
                line-height: 24px;
                text-align: center;
                font-size: 14px;
                color: #999;
                float: left;
                margin-top: 10px;
              }
              span:nth-child(1) {
                border-right: 1px solid #e6e6e6;
              }
            }
          }
        }
      }
      .hot_right {
        float: right;
        width: 285px;
        .hright_cont {
          height: 334px;
          background: #fff;
          border: 1px solid #e7e7e7;
          box-sizing: border-box;
          padding: 16px 18px 0 20px;
          li {
            height: 48px;
            border-top: 1px solid #e7e7e7;
            box-sizing: border-box;
            padding-top: 14px;
            cursor: pointer;
            h2 {
              font-size: 24px;
              line-height: 24px;
              float: left;
            }
            h5 {
              font-size: 14px;
              color: #333;
              margin: 0 10px;
              line-height: 24px;
              float: left;
            }
            span {
              display: block;
              font-size: 12px;
              color: #999;
              line-height: 24px;
            }
          }
          li.cur {
            height: 124px;
            border: 0;
            box-sizing: border-box;
            padding-top: 14px;
            h2 {
              float: left;
              font-size: 24px;
              font-weight: bolder;
              color: #ff0101;
              margin: 0;
              line-height: 24px;
            }
            img {
              width: 80px;
              height: 80px;
              display: block;
              float: left;
              margin: 1px 10px 0;
            }
            div {
              float: left;
              h5 {
                font-size: 14px;
                color: #333;
                margin: 0;
                margin-bottom: 5px;
                float: none;
              }
              span {
                display: block;
                font-size: 12px;
                color: #999;
                height: 22px;
                line-height: 22px;
              }
            }
          }
        }
      }
    }
    .choice {
      height: 332px;
      .choice_left {
        float: left;
        width: 895px;
        height: 292px;
        background: #fff;
        border: 1px solid #e7e7e7;
        .chleft_top {
          height: 39px;
          border-bottom: 1px solid #e7e7e7;
          margin: 0;
          li {
            float: left;
            margin-left: 5px;
            width: 61px;
            height: 38px;
            line-height: 38px;
            text-align: center;
            cursor: pointer;
            span {
              color: #666;
              font-size: 14px;
            }
            &.ch_cur {
              height: 39px;
              border-top: 2px solid #30bb5a;
              border-left: 1px solid #e7e7e7;
              border-right: 1px solid #e7e7e7;
              background: #fff;
            }
            &.ch_cur span {
              color: #30bb5a;
            }
            &:nth-child(1) {
              margin-left: 15px;
            }
            &.more {
              float: right;
              a {
                font-size: 12px;
                color: #46bf68;
              }
            }
          }
        }
        .chleft_show {
          height: 253px;
          box-sizing: border-box;
          padding: 20px 36px 0;
          .ch_showTop {
            height: 80px;
            overflow: hidden;
            a {
              display: inline-block;
              margin: 0 10px 10px 0;
              background: #f4f4f4;
              padding: 6px 10px;
              font-size: 12px;
              color: #666;
              &.stop_cur {
                color: #39ba5e;
              }
              &:hover {
                color: #39ba5e;
              }
            }
          }
          .ch_showList {
            margin: 0;
            li {
              width: 190px;
              height: 106px;
              line-height: 106px;
              font-size: 20px;
              color: #fff;
              text-align: center;
              margin: 10px 0 10px 19px;
              float: left;
              cursor: pointer;
              b {
                font-weight: normal;
              }
              &:nth-child(1) {
                margin-left: 0px;
              }
            }
          }
          .ch_showTo {
            height: 28px;
            line-height: 28px;
            text-align: center;
            a {
              font-size: 12px;
              color: #999;
            }
          }
        }
      }
      .choice_right {
        float: right;
        width: 283px;
        border: 1px solid #e7e7e7;
        height: 292px;
        background: #fff;
        margin-bottom: 0;
        li {
          height: 58px;
          line-height: 58px;
          box-sizing: border-box;
          padding: 0 18px 0 20px;
          cursor: pointer;
          div {
            border-top: 1px solid #e7e7e7;
            b {
              display: block;
              font-size: 24px;
              float: left;
              padding: 0px 10px 0 6px;
            }
            span {
              display: block;
              font-size: 14px;
              color: #333;
              float: left;
            }
            i {
              display: block;
              font-size: 12px;
              color: #999;
              float: right;
              font-style: normal;
            }
          }
          &:hover {
            background: #f4f4f4;
          }
          &:nth-child(1) div {
            border: 0;
          }
        }
      }
    }
    .real {
      height: 322px;
      .real_left {
        width: 895px;
        height: 282px;
        .rleft_bar {
          width: 288px;
          height: 282px;
          float: left;
          background: #fff;
          border: 1px solid #e7e7e7;
          span {
            display: block;
            height: 44px;
            box-sizing: border-box;
            padding-left: 18px;
            font-size: 14px;
            color: #666;
            line-height: 44px;
          }
          img {
            display: block;
            margin: 0 auto;
            width: 250px;
            height: 210px;
          }
        }
        .rleft_list {
          width: 582px;
          height: 282px;
          background: #fff;
          border: 1px solid #e7e7e7;
          float: right;
          box-sizing: border-box;
          padding: 0 40px;
          span {
            display: block;
            height: 54px;
            line-height: 54px;
            font-size: 14px;
            color: #666;
          }
          ul {
            margin-bottom: 0;
            li {
              width: 80px;
              height: 80px;
              float: left;
              box-sizing: border-box;
              border: 1px solid #e7e7e7;
              margin: 10px 24px;
              margin-right: 0;
              text-align: center;
              cursor: pointer;
              &.wenKe::before,
              &.liKe::before {
                content: "";
                position: absolute;
                width: 16px;
                height: 16px;
                top: 4px;
                left: 4px;
              }
              &.wenKe::before {
                background: url("./bg_img/wenKe.png") no-repeat;
              }
              &.liKe::before {
                background: url("./bg_img/liKe.png") no-repeat;
              }
              span {
                display: block;
                height: 40px;
                line-height: 40px;
                font-size: 14px;
                color: #333;
                text-align: center;
              }
              i {
                display: block;
                width: 20px;
                height: 20px;
                margin: 16px auto 0;
              }
              &:nth-child(1),
              &:nth-child(6) {
                margin-left: 0;
              }
              &:nth-child(1) i {
                background: url("./bg_img/yu.png") no-repeat;
              }
              &:nth-child(2) i,
              &:nth-child(3) i {
                background: url("./bg_img/shu.png") no-repeat;
              }
              &:nth-child(4) i {
                background: url("./bg_img/ying.png") no-repeat;
              }
              &:nth-child(5) i {
                background: url("./bg_img/di.png") no-repeat;
              }
              &:nth-child(6) i {
                background: url("./bg_img/wu.png") no-repeat;
              }
              &:nth-child(7) i {
                background: url("./bg_img/hua.png") no-repeat;
              }
              &:nth-child(8) i {
                background: url("./bg_img/sheng.png") no-repeat;
              }
              &:nth-child(9) i {
                background: url("./bg_img/zheng.png") no-repeat;
              }
              &:nth-child(10) i {
                background: url("./bg_img/li.png") no-repeat;
              }
              &.juan_cur {
                background: #39ba5e;
                border-color: #39ba5e;
                span {
                  color: #fff;
                }
              }
              &:hover {
                background: #39ba5e;
                border-color: #39ba5e;
                span {
                  color: #fff;
                }
                i {
                  background: url("./bg_img/di.png") no-repeat;
                }
              }
            }
          }
        }
      }
      .real_right {
        height: 282px;
        width: 283px;
        border-bottom: 1px solid #e7e7e7;
        li {
          height: 56px;
          box-sizing: border-box;
          border-top: 1px solid #e7e7e7;
          padding: 10px 0;
          cursor: pointer;
          &:hover {
            background: #fff;
          }
          img {
            display: inline-block;
            width: 35px;
            height: 35px;
            margin-right: 10px;
          }
          span {
            display: inline-block;
            height: 34px;
            line-height: 34px;
            font-size: 14px;
            color: #666;
          }
        }
      }
    }
    .studio {
      height: 708px;
      .studio_list {
        height: 645px;
        margin-bottom: 0;
        li {
          width: 220px;
          text-align: center;
          height: 300px;
          box-sizing: border-box;
          border: 1px solid #e7e7e7;
          padding: 19px 19px 0;
          background: #fff;
          margin: 15px 0 15px 25px;
          float: left;
          cursor: pointer;
          transition: all 0.3s;
          &:hover {
            box-shadow: 0px 0px 16px 3px #d9d9d9;
          }
          &:nth-child(1),
          &:nth-child(6) {
            margin-left: 0;
          }
          &:nth-child(-n + 5) {
            margin-top: 0;
          }
          img {
            width: 180px;
            height: 180px;
          }
          div {
            .stList_tit {
              padding-top: 3px;
              display: block;
              height: 38px;
              line-height: 38px;
              font-size: 14px;
              color: #333;
            }
            .stList_intro {
              display: block;
              height: 22px;
              line-height: 22px;
              font-size: 12px;
              color: #999;
              i {
                padding: 0 13px;
                font-style: normal;
                &:nth-child(1) {
                  border-right: 1px solid #e7e7e7;
                }
              }
            }
          }
        }
      }
      .stu_btn {
        margin: 0;
      }
    }
    .newest {
      height: 322px;
      .newest_list {
        height: 284px;
        // width: 1200px;
        position: relative;
        box-sizing: border-box;
        padding: 9px 30px;
        i {
          display: block;
          width: 12px;
          height: 28px;
          position: absolute;
          top: 128px;
          cursor: pointer;
          &.icon_l {
            left: 0;
            background: url("./bg_img/icon_left.png") no-repeat;
          }
          &.icon_r {
            right: 0;
            background: url("./bg_img/icon_right.png") no-repeat;
          }
        }
        ul {
          height: 266px;
          margin-bottom: 0;
          li {
            float: left;
            margin: 0 12px;
            width: 260px;
            height: 266px;
            background: #fff;
            cursor: pointer;
            div.news_img {
              height: 146px;
              width: 260px;
              overflow: hidden;
            }
            div.news_txt {
              height: 120px;
              box-sizing: border-box;
              padding: 30px;
              border: 1px solid #e7e7e7;
              border-top: 0;
              text-align: center;
              .news_name {
                display: block;
                height: 18px;
                line-height: 18px;
                b {
                  font-size: 18px;
                  color: #333;
                  font-weight: normal;
                  padding: 0 9px;
                }
                span {
                  font-size: 14px;
                  color: #999;
                }
              }
              .news_school {
                // display: block;
                margin-top: 10px;
                height: 30px;
                line-height: 30px;
                overflow: hidden;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 1;
              }
            }
            &:hover .news_txt {
              background: #39ba5e;
              color: #fff;
            }
            &:hover .news_txt > .news_name > b,
            &:hover .news_txt > .news_name > span {
              color: #fff;
            }
            &:hover {
              position: relative;
              &::after {
                position: absolute;
                content: "";
                height: 146px;
                width: 260px;
                top: 0;
                left: 0;
                z-index: 10;
                background: url("./bg_img/video.png") no-repeat center center,
                  rgba(0, 0, 0, 0.5);
              }
            }
          }
        }
      }
    }
    .upUp {
      margin-top: 52px;
      height: 396px;
      .up_tit {
        height: 24px;
        line-height: 24px;
        font-size: 24px;
        color: #333;
      }
      .up_list {
        height: 372px;
        margin-bottom: 0;
        li {
          width: 300px;
          height: 372px;
          float: left;
          text-align: center;
          box-sizing: border-box;
          padding: 60px 50px;
          span {
            display: block;
            line-height: 50px;
            height: 50px;
            font-size: 18px;
            color: #333;
          }
          p {
            line-height: 24px;
            font-size: 14px;
            color: #aaa;
            margin-bottom: 0;
          }
          i {
            display: inline-block;
            width: 76px;
            height: 80px;
            margin-bottom: 18px;
          }
          &:nth-child(1) i {
            background: url("./bg_img/up_a.png") no-repeat center center;
          }
          &:nth-child(2) i {
            background: url("./bg_img/up_b.png") no-repeat center center;
          }
          &:nth-child(3) i {
            background: url("./bg_img/up_c.png") no-repeat center center;
          }
          &:nth-child(4) i {
            background: url("./bg_img/up_d.png") no-repeat center center;
          }
        }
      }
    }
  }
}

// 底部
.foot {
  height: 836px;
  .foot_select {
    background: #eeeeee;
    height: 240px;
    box-sizing: border-box;
    border-top: 1px solid #e7e7e7;
    .fot_selTxt {
      height: 240px;
      li {
        float: left;
        height: 240px;
        text-align: center;
        width: 600px;
        b {
          margin-top: 22px;
          display: block;
          height: 58px;
          font-size: 24px;
          line-height: 58px;
          font-weight: 500;
          color: #333;
        }
        span {
          display: block;
          height: 22px;
          line-height: 22px;
          font-size: 14px;
          color: #999;
        }
        a {
          display: block;
          margin: 25px auto 0;
          width: 170px;
          height: 50px;
          line-height: 50px;
          text-align: center;
          color: #fff;
          font-size: 18px;
          border-radius: 4px;
          background: #39ba5e;
        }
        &:nth-child(2) a {
          background: #ff6600;
        }
      }
    }
  }
  .footer {
    height: 596px;
    background: #333;
    .footer_top {
      width: 1390px;
      height: 208px;
      margin: 0 auto;
      li {
        float: left;
        display: block;
        padding: 74px 92px;
        &:nth-child(1) i {
          background: url("./bg_img/foot_a.png") no-repeat center center;
        }
        &:nth-child(2) i {
          background: url("./bg_img/foot_b.png") no-repeat center center;
        }
        &:nth-child(3) i {
          background: url("./bg_img/foot_c.png") no-repeat center center;
        }
        &:nth-child(4) i {
          background: url("./bg_img/foot_d.png") no-repeat center center;
        }
        i {
          display: block;
          float: left;
          width: 66px;
          height: 60px;
          margin-right: 12px;
        }
        .fotop_txt {
          height: 60px;
          display: block;
          float: right;
          span {
            display: block;
            line-height: 30px;
            font-size: 14px;
            color: #999;
          }
        }
      }
    }
    .footer_bto {
      height: 386px;
      border-top: 1px solid #4b4b4b;
      .footer_txt {
      }
    }
  }
}
